#include "sudu.h"
int8 sudu=1;
  int8 mbz_1=0;
float dianganxishu_1=0;
int8 shiziwucha_1=0;
int8 yuanqianwucha_1=0;
int8 guanwuanwucha_1=0;
int8 putongwucha_1=0;
float jiaosudu_p=0;
float jiaosudu_d=0;
float fangxiang_p=0;
float fangxiang_d=0;
float tlyxishu=0;
int16 zuidashuchu=0;
uint8 eeprom_buf[1]={0};
void tiaosu ()
{
		if(sudu==1)
	{
		mbz_1=90;
		dianganxishu_1=0.35;
		shiziwucha_1=100;
		yuanqianwucha_1=80;
		putongwucha_1=150;
		guanwuanwucha_1=150;
		jiaosudu_p=1.3;
		jiaosudu_d=0.1;
		fangxiang_p=30;
		fangxiang_d=0;
		tlyxishu=0.7;
		zuidashuchu=5000;
	}
	else if(sudu==2)
	{
		mbz_1=120;
		dianganxishu_1=0.25;
		shiziwucha_1=100;
		yuanqianwucha_1=80;
		putongwucha_1=100;
		guanwuanwucha_1=100;
		jiaosudu_p=1.7;
		jiaosudu_d=0.6;
		fangxiang_p=30;
		fangxiang_d=0;
		tlyxishu=0.74;
		zuidashuchu=8000;
	}
}